package com.android.model.entity.res;

/**
 * Created by mj
 * on 2017/8/15.
 */

public class OrderResponse extends BaseResponse {


    /**
     * accountId : ST-00000001
     * orderId : 71bc336a7e32445d9240b83779c41bdb
     * symbol : BTCUSDT
     * orderType : LIMIT
     * orderSide : BUY
     * limitPrice : 5.0
     * quantity : 6.0
     * filledAveragePrice : 0
     * filledCumulativeQuantity : 0
     * openQuantity : 6.0
     * orderStatus : SUBMITTED
     * createdAt : 1525435067185
     * updatedAt : 1525435067185
     * cancelledUpdateAt : null
     * filledUpdatedAt : null
     * cumulativeCommission : 0
     */

    private String accountId;
    private String orderId;
    private String symbol;
    private String orderType;
    private String orderSide;
    private double limitPrice;
    private double quantity;
    private int filledAveragePrice;
    private int filledCumulativeQuantity;
    private double openQuantity;
    private String orderStatus;
    private long createdAt;
    private long updatedAt;
    private Object cancelledUpdateAt;
    private Object filledUpdatedAt;
    private int cumulativeCommission;

    @Override
    public String toString() {
        return "OrderResponse{" +
                "orderId=" + orderId +
                '}';
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getOrderSide() {
        return orderSide;
    }

    public void setOrderSide(String orderSide) {
        this.orderSide = orderSide;
    }

    public double getLimitPrice() {
        return limitPrice;
    }

    public void setLimitPrice(double limitPrice) {
        this.limitPrice = limitPrice;
    }

    public double getQuantity() {
        return quantity;
    }

    public void setQuantity(double quantity) {
        this.quantity = quantity;
    }

    public int getFilledAveragePrice() {
        return filledAveragePrice;
    }

    public void setFilledAveragePrice(int filledAveragePrice) {
        this.filledAveragePrice = filledAveragePrice;
    }

    public int getFilledCumulativeQuantity() {
        return filledCumulativeQuantity;
    }

    public void setFilledCumulativeQuantity(int filledCumulativeQuantity) {
        this.filledCumulativeQuantity = filledCumulativeQuantity;
    }

    public double getOpenQuantity() {
        return openQuantity;
    }

    public void setOpenQuantity(double openQuantity) {
        this.openQuantity = openQuantity;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public long getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(long createdAt) {
        this.createdAt = createdAt;
    }

    public long getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(long updatedAt) {
        this.updatedAt = updatedAt;
    }

    public Object getCancelledUpdateAt() {
        return cancelledUpdateAt;
    }

    public void setCancelledUpdateAt(Object cancelledUpdateAt) {
        this.cancelledUpdateAt = cancelledUpdateAt;
    }

    public Object getFilledUpdatedAt() {
        return filledUpdatedAt;
    }

    public void setFilledUpdatedAt(Object filledUpdatedAt) {
        this.filledUpdatedAt = filledUpdatedAt;
    }

    public int getCumulativeCommission() {
        return cumulativeCommission;
    }

    public void setCumulativeCommission(int cumulativeCommission) {
        this.cumulativeCommission = cumulativeCommission;
    }
}
